package com.xunker.appointment.model.schedule;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunker.appointment.model.base.BaseNoAutoEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(description = "计划表")
@TableName("schedule")
public class Schedule extends BaseNoAutoEntity {
    private static final long serialVersionUID=1L;

    @ApiModelProperty("医院编号")
    private String hospitalCode;
    @ApiModelProperty("科室编号")
    private String departmentCode;
    @ApiModelProperty(value = "职称")
    private String title;
    @ApiModelProperty("医生名称")
    private String doctorName;
    @ApiModelProperty("擅长技能")
    private String skill;
    @ApiModelProperty("安排日期")
    private String workDate;
    @ApiModelProperty("安排时间：（0：am,1：pm）")
    private Integer workTime;
    @ApiModelProperty("可预约数")
    private Integer reservedNumber;
    @ApiModelProperty("剩余预约数")
    private Integer availableNumber;
    @ApiModelProperty("挂号费")
    private BigDecimal amount;
    @ApiModelProperty("排班状态（-1：停诊，0：停约，1：可约）")
    private Integer status;
}
